package cn.itcast.dagger_demo.bean;

/**
 * Created by Administrator on 2016/8/3.
 */
public class TestData extends Data {


    /**
     * code : 200
     * data : {"name":"sz","score":100,"sex":true}
     */

    private int code;
    /**
     * name : sz
     * score : 100
     * sex : true
     */

    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private String name;
        private int score;
        private boolean sex;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getScore() {
            return score;
        }

        public void setScore(int score) {
            this.score = score;
        }

        public boolean isSex() {
            return sex;
        }

        public void setSex(boolean sex) {
            this.sex = sex;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "name='" + name + '\'' +
                    ", score=" + score +
                    ", sex=" + sex +
                    '}';
        }
    }
}
